//
//  LoadingView.h
//  PayManager
//
//  Created by app on 2017/6/21.
//  Copyright © 2017年 HZJiTeng. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol LoadingViewDelegate <NSObject>

- (void)endLoading;

@end

@interface LoadingView : UIView

@property (nonatomic,weak)id <LoadingViewDelegate>delegate;

@property (nonatomic,copy)NSString *tips;
@property (nonatomic,assign)CGFloat timeDelay;
@property (nonatomic,strong)UILabel *tipsLabel;

+ (LoadingView *)shareManagerInView:(UIView *)view withTips:(NSString *)tips withTimeDelay:(CGFloat)timeDelay;
- (void)startLoading;
- (void)endLoading;

@end
